package com.czh.gzskzn.qqkonjian.Activity;

import android.app.Activity;
import android.app.Dialog;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;

import com.czh.gzskzn.qqkonjian.R;

/**
 * Created by gzsk on 2017/5/9.
 * name  陈忠红
 * email czhhx15599109256@163.com
 */

public class QinJiaActivity extends Activity implements View.OnClickListener{
    private LinearLayout llQinjianeixin,llKaiShiShiJian,llJiShuShiJian,llTuPian,llShenHe;
    private ImageView tupian;

    private View inflate;
    private TextView choosePhoto;
    private TextView takePhoto;
    private Dialog dialog;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.qinjia_activity);

            intiView();



    }

    private void intiView() {
        llQinjianeixin = (LinearLayout) findViewById(R.id.ll_qinjia_qjlx);
        llKaiShiShiJian = (LinearLayout) findViewById(R.id.ll_qinjia_kssj);
        llJiShuShiJian = (LinearLayout) findViewById(R.id.ll_qinjia_jssj);
        llTuPian = (LinearLayout) findViewById(R.id.ll_qinjia_tupian);
        llShenHe = (LinearLayout) findViewById(R.id.ll_qinjia_shenpi);
        tupian = (ImageView) findViewById(R.id.im_qinjia_tupian);
        llQinjianeixin.setOnClickListener(this);
        llKaiShiShiJian.setOnClickListener(this);
        llJiShuShiJian.setOnClickListener(this);
        llTuPian.setOnClickListener(this);
        tupian.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.ll_qinjia_qjlx:

                break;
            case R.id.ll_qinjia_kssj:

                break;
            case R.id.ll_qinjia_jssj:

                break;
            case R.id.ll_qinjia_tupian:
                Toast.makeText(QinJiaActivity.this,"Sssssss",Toast.LENGTH_SHORT).show();
                break;
            case R.id.ll_qinjia_shenpi:

                break;
        }
    }
}
